package com.tudouji.project.farmer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 种植户档案对象 farmerinfo
 * 
 * @author tudouji
 * @date 2021-04-23
 */
public class Farmerinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String guid;

    /** 用户id,关联系统用户 */
    private String userid;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String deptguid;

    /** 所属部门 */
    private String depname;

    /** 种植户 */
    @Excel(name = "种植户")
    private String name;

    /** 地址（所属省市区） */
    private String province;

    /** $column.columnComment */
    private String city;

    /** $column.columnComment */
    private String district;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 所属区域（推广组织管理划分的区域）字典定义 */
    private Integer odistrict;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 户名(银行账户户名) */
    private String accountname;

    /** 开户行 */
    private String bankname;

    /** 银行账号 */
    private String accountno;

    /** 最后一次订单签订年份 */
    private Integer lastorderdate;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 是否有自有仓库(1: 是 2：否) */
    private Integer selfstore;

    /** 自有仓库存储容量（吨） */
    private Integer storecapcity;

    /** 创建人 */
    private String operatorid;

    /** 最后修改日期 */
    private Date lastupdtime;

    private String remark;

    private String search;

    private String Deptguid;
    private String Depname;

    private String[] deptids;

    private String statusname;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public String[] getDeptids() {
        return deptids;
    }

    public void setDeptids(String[] deptids) {
        this.deptids = deptids;
    }

    public String getStatusname() {
        return statusname;
    }

    public void setStatusname(String statusname) {
        this.statusname = statusname;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setDeptguid(String deptguid) 
    {
        this.deptguid = deptguid;
    }

    public String getDeptguid() 
    {
        return deptguid;
    }
    public void setDepname(String depname) 
    {
        this.depname = depname;
    }

    public String getDepname() 
    {
        return depname;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOdistrict(Integer odistrict) 
    {
        this.odistrict = odistrict;
    }

    public Integer getOdistrict() 
    {
        return odistrict;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAccountname(String accountname) 
    {
        this.accountname = accountname;
    }

    public String getAccountname() 
    {
        return accountname;
    }
    public void setBankname(String bankname) 
    {
        this.bankname = bankname;
    }

    public String getBankname() 
    {
        return bankname;
    }
    public void setAccountno(String accountno) 
    {
        this.accountno = accountno;
    }

    public String getAccountno() 
    {
        return accountno;
    }
    public void setLastorderdate(Integer lastorderdate) 
    {
        this.lastorderdate = lastorderdate;
    }

    public Integer getLastorderdate() 
    {
        return lastorderdate;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSelfstore(Integer selfstore) 
    {
        this.selfstore = selfstore;
    }

    public Integer getSelfstore() 
    {
        return selfstore;
    }
    public void setStorecapcity(Integer storecapcity) 
    {
        this.storecapcity = storecapcity;
    }

    public Integer getStorecapcity() 
    {
        return storecapcity;
    }
    public void setOperatorid(String operatorid) 
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid() 
    {
        return operatorid;
    }
    public void setLastupdtime(Date lastupdtime) 
    {
        this.lastupdtime = lastupdtime;
    }

    public Date getLastupdtime() 
    {
        return lastupdtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("userid", getUserid())
            .append("deptguid", getDeptguid())
            .append("depname", getDepname())
            .append("name", getName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("address", getAddress())
            .append("odistrict", getOdistrict())
            .append("telephone", getTelephone())
            .append("accountname", getAccountname())
            .append("bankname", getBankname())
            .append("accountno", getAccountno())
            .append("remark", getRemark())
            .append("lastorderdate", getLastorderdate())
            .append("status", getStatus())
            .append("selfstore", getSelfstore())
            .append("storecapcity", getStorecapcity())
            .append("operatorid", getOperatorid())
            .append("createtime", getCreateTime())
            .append("lastupdtime", getLastupdtime())
            .toString();
    }
}
